# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'home.ui'
##
## Created by: Qt User Interface Compiler version 6.8.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QAction, QBrush, QColor, QConicalGradient,
    QCursor, QFont, QFontDatabase, QGradient,
    QIcon, QImage, QKeySequence, QLinearGradient,
    QPainter, QPalette, QPixmap, QRadialGradient,
    QTransform)
from PySide6.QtWidgets import (QApplication, QLabel, QMainWindow, QMenu,
    QMenuBar, QSizePolicy, QStatusBar, QVBoxLayout,
    QWidget)
from state import icon_rc

class Ui_home(object):
    def setupUi(self, home):
        if not home.objectName():
            home.setObjectName(u"home")
        home.resize(1198, 774)
        home.setStyleSheet(u"font: 12pt \"\u4eff\u5b8b_GB2312\";")
        self.actionhome = QAction(home)
        self.actionhome.setObjectName(u"actionhome")
        self.actionbooks = QAction(home)
        self.actionbooks.setObjectName(u"actionbooks")
        self.actionauthors = QAction(home)
        self.actionauthors.setObjectName(u"actionauthors")
        self.actionpublishers = QAction(home)
        self.actionpublishers.setObjectName(u"actionpublishers")
        self.actioncategory = QAction(home)
        self.actioncategory.setObjectName(u"actioncategory")
        self.actioninit_setting = QAction(home)
        self.actioninit_setting.setObjectName(u"actioninit_setting")
        self.actionschoolinfo = QAction(home)
        self.actionschoolinfo.setObjectName(u"actionschoolinfo")
        self.centralwidget = QWidget(home)
        self.centralwidget.setObjectName(u"centralwidget")
        self.verticalLayout_2 = QVBoxLayout(self.centralwidget)
        self.verticalLayout_2.setObjectName(u"verticalLayout_2")
        self.widget = QWidget(self.centralwidget)
        self.widget.setObjectName(u"widget")
        self.verticalLayout = QVBoxLayout(self.widget)
        self.verticalLayout.setObjectName(u"verticalLayout")

        self.verticalLayout_2.addWidget(self.widget)

        self.tool = QLabel(self.centralwidget)
        self.tool.setObjectName(u"tool")
        self.tool.setStyleSheet(u"color: rgb(255, 0, 0);")

        self.verticalLayout_2.addWidget(self.tool, 0, Qt.AlignmentFlag.AlignHCenter)

        self.label = QLabel(self.centralwidget)
        self.label.setObjectName(u"label")
        self.label.setStyleSheet(u"font: 28pt \"\u65b9\u6b63\u5c0f\u6807\u5b8b\u7b80\u4f53\";\n"
"color: rgb(170, 170, 255);")

        self.verticalLayout_2.addWidget(self.label, 0, Qt.AlignmentFlag.AlignHCenter)

        self.verticalLayout_2.setStretch(0, 1)
        self.verticalLayout_2.setStretch(1, 1)
        self.verticalLayout_2.setStretch(2, 16)
        home.setCentralWidget(self.centralwidget)
        self.menubar = QMenuBar(home)
        self.menubar.setObjectName(u"menubar")
        self.menubar.setGeometry(QRect(0, 0, 1198, 33))
        self.menu_5 = QMenu(self.menubar)
        self.menu_5.setObjectName(u"menu_5")
        self.menu_10 = QMenu(self.menubar)
        self.menu_10.setObjectName(u"menu_10")
        self.menu_14 = QMenu(self.menubar)
        self.menu_14.setObjectName(u"menu_14")
        home.setMenuBar(self.menubar)
        self.statusbar = QStatusBar(home)
        self.statusbar.setObjectName(u"statusbar")
        home.setStatusBar(self.statusbar)

        self.menubar.addAction(self.menu_5.menuAction())
        self.menubar.addAction(self.menu_10.menuAction())
        self.menubar.addAction(self.menu_14.menuAction())
        self.menu_5.addAction(self.actionhome)
        self.menu_10.addAction(self.actionbooks)
        self.menu_10.addAction(self.actionauthors)
        self.menu_10.addAction(self.actionpublishers)
        self.menu_10.addAction(self.actioncategory)
        self.menu_14.addAction(self.actioninit_setting)
        self.menu_14.addAction(self.actionschoolinfo)

        self.retranslateUi(home)
        self.actionauthors.triggered.connect(home.authorWidget)
        self.actionbooks.triggered.connect(home.booksWidget)
        self.actioninit_setting.triggered.connect(home.initsettingWidget)
        self.actioncategory.triggered.connect(home.categoryWidget)
        self.actionschoolinfo.triggered.connect(home.schoolInfoWidget)

        QMetaObject.connectSlotsByName(home)
    # setupUi

    def retranslateUi(self, home):
        home.setWindowTitle(QCoreApplication.translate("home", u"\u56fe\u4e66\u7ba1\u7406\u7cfb\u7edf", None))
        self.actionhome.setText(QCoreApplication.translate("home", u"\u4e3b\u9875", None))
        self.actionbooks.setText(QCoreApplication.translate("home", u"\u56fe\u4e66", None))
        self.actionauthors.setText(QCoreApplication.translate("home", u"\u4f5c\u8005", None))
        self.actionpublishers.setText(QCoreApplication.translate("home", u"\u51fa\u7248\u793e", None))
        self.actioncategory.setText(QCoreApplication.translate("home", u"\u5206\u7c7b", None))
        self.actioninit_setting.setText(QCoreApplication.translate("home", u"\u521d\u59cb\u5316\u8bbe\u7f6e", None))
        self.actionschoolinfo.setText(QCoreApplication.translate("home", u"\u5b66\u6821\u4fe1\u606f", None))
        self.tool.setText("")
        self.label.setText(QCoreApplication.translate("home", u"\u6b22\u8fce\u4f7f\u7528\u56fe\u4e66\u7ba1\u7406\u7cfb\u7edf", None))
        self.menu_5.setTitle(QCoreApplication.translate("home", u"\u4e3b\u9875", None))
        self.menu_10.setTitle(QCoreApplication.translate("home", u"\u56fe\u4e66", None))
        self.menu_14.setTitle(QCoreApplication.translate("home", u"\u8bbe\u7f6e", None))
    # retranslateUi

